/**
* @package Scribble
*/
$(document).ready(function() {

	// Focus input on "primary domain" field
	$('#site-primarydomain').focus();

	// Add confirmation to "delete" button
	$('button[rel=site-delete]').click(function() {
		return confirm("Are you sure you want to remove this site\nand all pages it contains?");
	}).attr('disabled', '');
});